/*
 * @Author: herw
 * @Date: 2020-07-14 09:43:21
 * @Last Modified by: herw
 * @Last Modified time: 2021-01-26 13:50:53
 */
const getters = {
  addRouters: state => state.permission.addRouters,
  cachedViews: state => state.tagsView.cachedViews,
  databaseUploadApi: state => state.api.databaseUploadApi,
  deployUploadApi: state => state.api.deployUploadApi,
  device: state => state.app.device,
  loadMenus: state => state.user.loadMenus,
  permission_routers: state => state.permission.routers,
  roles: state => state.user.roles,
  sidebar: state => state.app.sidebar,
  sidebarRouters: state => state.permission.sidebarRouters,
  size: state => state.app.size,
  sqlApi: state => state.api.sqlApi,
  swaggerApi: state => state.api.swaggerApi,
  token: state => state.user.token,
  user: state => state.user.user,
  updateAvatarApi: state => state.api.updateAvatarApi,
  visitedViews: state => state.tagsView.visitedViews
}

export default getters
